package com.daidai.service;

import com.daidai.domain.Book;

import java.util.List;

public interface BookService {

    List<Book> getAllBooks();

    Book getBookById(Integer id);

    int insertBook(Book book);

    int deleteBook(Integer id);

    int updateBook(Book book);
}
